package com.fantabest.common.server;

import java.util.List;

import com.fantabest.common.client.PlayerService;
import com.fantabest.common.entity.Player;
import com.fantabest.common.server.dao.PlayerDao;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@SuppressWarnings("serial")
public class PlayerServiceImpl extends RemoteServiceServlet implements
		PlayerService {

	public List<Player> findAll() {
		return null;
	}

	public List<Player> findByPosition(String position) {
		return PlayerDao.getInstance().findByPosition(position);
	}

}
